<?php
/**
 * Created by PhpStorm.
 * User: 12133
 * Date: 2024/12/26
 * Time: 14:03
 */

namespace app\model\home;


class Content extends Base
{
    protected $globalScope = ['website_id'];

    public function scopeWebsiteId($query){
        global $wid;
        $query->where('website_id',$wid);
    }
}